<?php
class Application_Model_Todoobject extends Application_Model_DomainObject{
      
      protected $_id;
      
      protected $_name;

      protected $_className;

      protected $_objectType;
      
      protected $_objectId;
      
      protected $_dateCreated;
      
      protected $_status;
      
      protected $_creator;
      
      protected $_operator;

      protected $_content;
      
      public static function getFilter($name, $pagesize, $pageindex) {
            $where = array();
            if ($name != null) {
                  $where[" objectId like "] = "%" . $name . "%";
            }
            return Application_Model_Todoobject::getDao()->queryPage($where, 'id desc', $pagesize, $pageindex);
      }
}
